Code Flexibility and Program Efficiency by Genericity: Improving Cgal's Arrangements
نویسندگان
چکیده
Arrangements of planar curves are fundamental structures in computational geometry. We describe the recent developments in the arrangement package of Cgal, the Computational Geometry Algorithms Library, making it easier to use, to extend and to adapt to a variety of applications. This improved flexibility of the code does not come at the expense of efficiency as we mainly use generic-programming techniques, which make dexterous use of the compilation process. To the contrary, we expedited key operations as we demonstrate by experiments.
منابع مشابه
Genericity in Object-Oriented Programming Languages
Genericity is one of the most powerful means for obtaining flexibility in programming with statically typed programming languages. Genericity constructs take on very different forms, the choice of which has a considerable impact on expressiveness, modularity, static checkability and efficiency properties of programs. This tutorial presents an in-depth discussion of the history, origins, and str...
متن کاملCode-Size Sensitive Partial Redundancy Elimination
Program optimization focuses usually on improving the runtime efficiency of a program. Its impact on the code size is typically not considered a concern. In fact, classical optimizations often cause code replication without providing any means allowing a user to control this. This limits their adequacy for applications, where code size is critical, too, like embedded systems or smart cards. In ...
متن کاملA Comparative Study of the Requirement for Judges to Issue Alternative Submissions Arrangements for Interim Detention in Iran and France
Presence before the judges in criminal proceedings for preliminary investigations and the hearing process. Ensuring the rights of victims to compensate for losses and damages and preventing disruption in normal process of criminal proceedings by the defendant are two important purposes in issuing the writ in order to gain fair and equitable hearings. Todays, the use of alternatives to pre-trial...
متن کاملRaising the source code abstraction level by using generic components for state machines
Various software architectures use state transition mechanisms as a major building block. As an example, finite state machines (FSMs) and their graphical counterpartstate transition diagramsare heavily used e.g. for the specification of various kinds of protocols such as network protocols (TCP/IP) or protocols for infrared data transmission (IrDA). Many embedded systems, e.g. telephone switch...
متن کاملThe effect of Shad Network e-learning program on teachers' efficiency and students' learning Improvement
The aim of this study was to investigate the effect of using a SHAD virtual education program on teachers chr('39')efficiency and studentschr('39') learning Improvement. The research is applied in terms of purpose and the research method is quasi-experimental with a control and experimental group. The statistical population includes the fifth grade elementary school female students of Gomishan ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2004